package it.alertManager.exceptions;

import android.util.Log;

public class AlertManagerException extends Exception {

	private String message = "";
	private Throwable throwable;
	
	public AlertManagerException(String message, Throwable throwable)
	{
		this.message = message;
		this.throwable = throwable;
	}
	
	@Override
	public String getMessage() {
		return message;
	}

	@Override
	public void printStackTrace() {
		Log.e(AlertManagerException.class.getName(), "Error:" ,throwable);
	}

	public Throwable getThrowable() {
		return throwable;
	}

}
